package com.lxmes.hr.service;

import java.util.List;
import com.lxmes.hr.domain.NcPieceworkMoneySummary;

/**
 * 计件工资汇总Service接口
 *
 * @author ruoyi
 * @date 2023-01-16
 */
public interface INcPieceworkMoneySummaryService
{
    /**
     * 查询计件工资汇总
     *
     * @param id 计件工资汇总主键
     * @return 计件工资汇总
     */
    public NcPieceworkMoneySummary selectNcPieceworkMoneySummaryById(Long id);

    /**
     * 查询计件工资汇总列表
     *
     * @param ncPieceworkMoneySummary 计件工资汇总
     * @return 计件工资汇总集合
     */
    public List<NcPieceworkMoneySummary> selectNcPieceworkMoneySummaryList(NcPieceworkMoneySummary ncPieceworkMoneySummary);

    /**
     * 新增计件工资汇总
     *
     * @param ncPieceworkMoneySummary 计件工资汇总
     * @return 结果
     */
    public int insertNcPieceworkMoneySummary(NcPieceworkMoneySummary ncPieceworkMoneySummary);

    /**
     * 修改计件工资汇总
     *
     * @param ncPieceworkMoneySummary 计件工资汇总
     * @return 结果
     */
    public int updateNcPieceworkMoneySummary(NcPieceworkMoneySummary ncPieceworkMoneySummary);

    /**
     * 批量删除计件工资汇总
     *
     * @param ids 需要删除的计件工资汇总主键集合
     * @return 结果
     */
    public int deleteNcPieceworkMoneySummaryByIds(Long[] ids);

    /**
     * 删除计件工资汇总信息
     *
     * @param id 计件工资汇总主键
     * @return 结果
     */
    public int deleteNcPieceworkMoneySummaryById(Long id);

    String imporIteminfo(List<NcPieceworkMoneySummary> userList, boolean updateSupport, String operName);

    int moneySummary();
}
